<?php
/*
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>标题</title>
</head>
<body>
    <h1>Hello Common</h1>
    <?=$content?>
</body>
</html>
*/
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>标题</title>
</head>
<body>
<?php if(isset($this->blocks['block1'])) : ?>
    <?=$this->blocks['block1'];?>
<?php else: ?>
    <h1>Hello Common</h1>
<?php endif; ?>
<?=$content?>
</body>
</html>
